package com.cheejee.goodscenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cheejee.goodscenter.module.entity.CategoryPropertiesGroup;
@Mapper
public interface CategoryPropertiesGroupMapper {
    int deleteByPrimaryKey(Integer id);

//    int insert(CategoryPropertiesGroup record);

    int insertSelective(CategoryPropertiesGroup record);

    CategoryPropertiesGroup selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CategoryPropertiesGroup record);

//    int updateByPrimaryKey(CategoryPropertiesGroup record);
    
    // ################ 以上为mybatis generator生成 ##################### 
    
    List<CategoryPropertiesGroup> seleteBySelective(@Param("categoryId")Integer categoryId, @Param("groupName")String groupName);
    
    int deleteById(@Param("id")Integer...id);
}